package org.dizem.minichat.vo;

import org.dizem.minichat.model.User;

/**
 * User: DIZEM
 * Time: 11-3-26 下午5:21
 */
public class UserVO {
	private String id;
	private String password;
	private String nick;
	private String about;
	private String email;
	private int age;
	private String sex;

	public UserVO() {
	}

	public UserVO(User user) {
		this.id = user.getId();
		this.password = user.getPassword();
		this.nick = user.getNick();
		this.about = user.getAbout();
		this.email = user.getEmail();
		this.age = user.getAge();
		this.sex = user.getSex();
	}

	public String getId() {
		return id;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNick() {
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getAbout() {
		return about;
	}

	public void setAbout(String about) {
		this.about = about;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
}
